home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / dev / amos / AMOS1097.lzh / AMOSLIST / 000249_amos-request@svcs1.digex.net_Sun Oct 26 18:43:49 1997.msg < prev    next >
Internet Message Format  |  1997-11-02  |  3KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id SAA04449
  3.     for <mcox@access.digex.net>; Sun, 26 Oct 1997 18:43:48 -0500 (EST)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id PAA08254
  6.     for amos-out; Sun, 26 Oct 1997 15:50:03 -0500 (EST)
  7. Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id PAA08251
  9.     for <amos-list@svcs1.digex.net>; Sun, 26 Oct 1997 15:50:02 -0500 (EST)
  10. Received: from relay2.inet.tele.dk (relay2.inet.tele.dk [194.182.149.120])
  11.     by mail2.access.digex.net (8.8.5/8.8.5) with SMTP id PAA20128
  12.     for <amos-list@access.digex.net>; Sun, 26 Oct 1997 15:49:57 -0500 (EST)
  13. Received: (qmail 56970 invoked from network); 26 Oct 1997 20:49:35 -0000
  14. Received: from post8.tele.dk (194.239.134.172)
  15.   by relay2.inet.tele.dk with SMTP; 26 Oct 1997 20:49:35 -0000
  16. Received: from post8.tele.dk ([194.239.180.21]) by post8.tele.dk
  17.           (Netscape Mail Server v2.02) with SMTP id AAA24176;
  18.           Sun, 26 Oct 1997 21:49:32 +0100
  19. From: Jens Vang Petersen <top_cat@post8.tele.dk>
  20. To: Alastair Murray <malcolm.murray@virgin.net>
  21. CC: amos-list@access.digex.net
  22. Date: Sun, 26 Oct 1997 21:48:29 +0100
  23. Message-ID: <yam7238.1457.1748690280@post8.tele.dk>
  24. In-Reply-To: <5F8A8FAF.MD-0.196.malcolm.murray@virgin.net>
  25. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  26. Subject: Re: Pattern Match
  27. MIME-Version: 1.0
  28. Content-Type: text/plain
  29. Status: O
  30. X-Status: 
  31.  
  32. On 17-Okt-20, Alastair Murray smashed the keyboard with:
  33. > >>Anyone have any AMOS code for doing a pattern match on a string?
  34. >> >>e.g. *.AMOS or #?.AMOS to see if a string contains .AMOS in it
  35. >> >>anywhere.
  36. >> >>Saves me writing it myself...
  37. >> 
  38. >> >A=Instr(<string to check>,<string to search for>)
  39. >> 
  40. >> THAT's NOT A PATTERN MATCH, but a character match
  41.  
  42. >Yes. A few people have misunderstood me I think.
  43. >This is what I need.
  44. >using: #?amos#?pro :as a pattern would respond
  45. >True for "amos pro" or "amos not pro" or "not amos pro" or "not amos
  46. >not pro" etc. As long as it has Anything, then the word "amos" then
  47. >anything else and then the word "pro" and nothing else.... get it?
  48.  
  49. >No-one programmed anything like this?
  50. >I know some extension use it (AMCAF) and you can access the Pattern
  51. >Match in a library somehow but I'd rather let it work with 1.3 dos as
  52. >well.
  53.  
  54. Just a note.
  55. Easylife + pattern.library runs on 1.3 too...
  56.  
  57. -- 
  58. Happy greetings, Yours..
  59. __________________________________________________________________________
  60.  /_  __/ __  / __  /\  ___\  __ \__  _\           aka. JENS VANG PETERSEN
  61.   / / / /_/ / ____/  \ \___\  __ \ \ \  Nyvej 8, DK-4450 Jyderup, Denmark
  62.  /_/ /_____/_/        \_____\_\ \_\ \_\             top_cat@post8.tele.dk
  63. --------------------------------------------------------------------------
  64.  CChheecckk yyoouurr dduupplleexx sswwiittcchh..
  65. --------------------------------------------------------------------------
  66.